b7e0e1578717709fc564832e95fac64a325da6aa,hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CellFlatMap.java,CellFlatMap,tailMap,#Cell#boolean#,176
Before Change
@Override
public NavigableMap<Cell, Cell> tailMap(Cell fromKey, boolean inclusive) {
int index = (getValidIndex(fromKey, inclusive, true));
return createSubCellFlatMap(index, maxCellIdx, descending);
}
After Change
@Override
public NavigableMap<Cell, Cell> tailMap(Cell fromKey, boolean inclusive) {
if (descending) {
return createSubCellFlatMap(minCellIdx, getValidIndex(fromKey, inclusive, true), descending);
} else {
return createSubCellFlatMap(getValidIndex(fromKey, inclusive, true), maxCellIdx, descending);
}